home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 5
/
Skunkware 5.iso
/
man
/
cat.1
/
coral.1
< prev
next >
Wrap
Text File
|
1995-07-25
|
5KB
|
133 lines
CCCCOOOORRRRAAAALLLL((((6666XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV CCCCOOOORRRRAAAALLLL((((6666XXXX))))
NNNNAAAAMMMMEEEE
coral - calculate and display a rising aggregate of
particles
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
_c_o_r_a_l [-duFR][-w width][-h height][-o filename][-m index][-c
colorwheel][-n count][-k duration]
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
_c_o_r_a_l generates and graphically displays a rising aggregate
of particles in simulation of something like 2-D coral
growth.
OOOOPPPPTTTTIIIIOOOONNNNSSSS
-R Indicates the display will be in the root window. In
this mode, the default color map will be used and
no spinning of the color wheel is possible.
-c _n Selects one of many different color wheels to use.
The default color wheel is a rainbow palette.
-d Indicates demo mode. In this mode, the aggregate
will be calculated, displayed, spun, then the
program will exit.
-w _n Specifies the width of the window. Default is 512.
-h _n Specifies the height of the window. Default is 512.
-k _d_u_r_a_t_i_o_n
Specifies the number of points to compute before
changing colors. Default is number of seeds times
number of colors.
-m _n Specifies the minimum color index to be used for the
upper end of the color wheel
-n _n_u_m_p_i_c_s
Specifies how many aggregates to compute before
exiting. During display (see NOTES below), pressing
'n' or 'N' will skip to the next map.
-o _f_i_l_e_n_a_m_e
Specifies the output filename to be used. If the -o
option is given, this file will automatically be
written out at the completion of the drawing. If it
is not specified, a default filename of coral.ppm is
used and only written if the 'f' or 'F' keys are
pressed during a run. The format of the output file
is PPM. The parameters used to calculate the picture
are included as comments at the beginning of the
output file.
Page 1 (printed 7/3/94)
CCCCOOOORRRRAAAALLLL((((6666XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV CCCCOOOORRRRAAAALLLL((((6666XXXX))))
-s Indicates to spin the color wheel immediately upon
completion of display.
-u Produces a usage message.
During display, use of the keys +-_d_D_f_F_n_N_S_R_r_s_w_W_X?_h_q_Q
indicates:
(+) Increment minimum color index.
(+) Decrement minimum color index.
(n or N) Skip to the next aggregate.
(s) Spin the color wheel in the positive direction.
(r) Spin the color wheel in the negative direction.
(R or S) Stop color wheel spinning.
(W or w) Increment or decrement the color map index.
(X) Erase current coral growth and start over with new
seeds.
(Q or q) quit
AAAAUUUUTTTTHHHHOOOORRRR
Ronald Joe Record
The Santa Cruz Operation
P.O. Box 1900
Santa Cruz, CA 95061
rr@sco.com
AAAACCCCKKKKNNNNOOOOWWWWLLLLEEEEDDDDGGGGEEEEMMMMEEEENNNNTTTTSSSS
The algorithm, which uses a modified random walk, was
derived from lectures given by Dietmar Saupe at the
University of California at Santa Cruz. Assistance with
colormaps and spinning color wheels and X was gleaned from
Hiram Clawson and Stacey Campbell.
Page 2 (printed 7/3/94)